<html>
<head><meta charset="utf-8"><title>100% cpu usage · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html">100% cpu usage</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="171422951"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171422951" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171422951">(Jul 22 2019 at 11:39)</a>:</h4>
<p>re: <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1541" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1541">https://github.com/rust-analyzer/rust-analyzer/issues/1541</a></p>



<a name="171422961"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171422961" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171422961">(Jul 22 2019 at 11:39)</a>:</h4>
<p>I got a live one! I closed a VSCode window and ra_lsp didn't exit</p>



<a name="171423021"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423021" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423021">(Jul 22 2019 at 11:40)</a>:</h4>
<p>cool!</p>



<a name="171423023"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423023" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423023">(Jul 22 2019 at 11:40)</a>:</h4>
<p>I'm connected with lldb and have a list of 15 threads. i'll collect backtraces now</p>



<a name="171423028"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423028" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423028">(Jul 22 2019 at 11:40)</a>:</h4>
<p>anything else you want me to do?</p>



<a name="171423131"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423131" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423131">(Jul 22 2019 at 11:42)</a>:</h4>
<p>I hope <code>error: need to add support for DW_TAG_base_type '()' encoded with DW_ATE = 0x7, bit_size = 0</code> doesn't mess this up</p>



<a name="171423149"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423149" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423149">(Jul 22 2019 at 11:42)</a>:</h4>
<p><code>bt all </code></p>



<a name="171423188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423188">(Jul 22 2019 at 11:43)</a>:</h4>
<p>ah thanks that saves some typing :)</p>



<a name="171423256"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423256" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423256">(Jul 22 2019 at 11:44)</a>:</h4>
<p><span class="user-mention" data-user-id="133169">@matklad</span> pasted here: <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1541#issuecomment-513757510" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1541#issuecomment-513757510">https://github.com/rust-analyzer/rust-analyzer/issues/1541#issuecomment-513757510</a></p>



<a name="171423589"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423589" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423589">(Jul 22 2019 at 11:51)</a>:</h4>
<p>just let me know if want me to do some more stuff to it, i'll keep it alive :D</p>



<a name="171423747"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423747" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423747">(Jul 22 2019 at 11:54)</a>:</h4>
<p>Nah, I think that's enougth to find the culprit: it's the notify library <span aria-label="weary" class="emoji emoji-1f629" role="img" title="weary">:weary:</span></p>



<a name="171423814"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/100%25%20cpu%20usage/near/171423814" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pascal <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/100.25.20cpu.20usage.html#171423814">(Jul 22 2019 at 11:55)</a>:</h4>
<p>ah, one of the two good ones that set the thread name? :D</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>